package tech.veedo.munchkin.beans.frontend;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.veedo.munchkin.beans.basic.Base;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "工作流审核工单", description = "工作流审批的工单实体类，夹杂着真正的审核对象")
@Data
@Accessors(chain = true)
public class Form extends Base<Form> {

    @ApiModelProperty("表单标题")
    private String title;

    @ApiModelProperty("表单类型")
    private Integer type;

    @ApiModelProperty("提交人ID")
    @TableField("commit_psn_id")
    private String commitPsnID;

    @ApiModelProperty("提交人姓名")
    @TableField("commit_psn_name")
    private String commitPsnName;

    @ApiModelProperty("提交人部门编码")
    @TableField("commit_post_code")
    private String commitPostCode;

    @ApiModelProperty("提交人部门名称")
    @TableField("commit_post_name")
    private String commitPostName;

    @ApiModelProperty("审核项ID")
    private String auditingID;

    @ApiModelProperty("审核状态：0：审核中、1：通过、2：驳回")
    private Integer state;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("预留字段1")
    private String annex1;

    @ApiModelProperty("预留字段2")
    private Integer annex2;

    @ApiModelProperty("预留字段3")
    private Object annex3;



}
